package isanfeng.tuxiaoer.pattern.creational.Cabstractfactory;

import isanfeng.tuxiaoer.pattern.creational.Cabstractfactory.model.*;

/**
 * @author 李红辉
 * @version 1.0
 * @date 2019/9/27 18:09
 */
public class PythonCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new PythonVideo();
    }

    @Override
    public Article getArticle() {
        return new PythonArticle();
    }
}
